<?php
include("../sesiune.php");

$id = $_POST['id'];
$queryDel = "DELETE FROM produse WHERE ID = $id ";
$runQuery = mysql_query ($queryDel, getConnection()) or die (mysql_error());

header("Location: ".$_SERVER["HTTP_REFERER"]);
?>